﻿using Abp.AutoMapper;
using Mt.Site.Core.WorkFlows.Design.Entities;
using System;

namespace Mt.Site.Application.WorkFlows.Dto
{
    [AutoMapFrom(typeof(WorkFlowNode))]
    public class WorkFlowNodeDto
    {
        public Guid Id { get; set; }
        public Guid WorkflowId { get; set; }

        public string Name { get; set; }

        public string ShortName { get; set; }

        /// <summary>
        /// 下一步的备选项，id序列（,号分割）
        /// </summary>
        public string NextNodeList { get; set; }

        /// <summary>
        /// 后退的备选项，id序列（,号分割）
        /// </summary>
        public string BackNodeList { get; set; }

    }
}
